package com.shiguiwu.springmybatis.spring.lazy;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Lazy;

/**
 * @description:
 * @author: stone
 * @date: Created by 2021/3/15 16:17
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.lazy
 */
@ComponentScan
@Lazy
public class LazyConfig {

    @Bean
    public A a() {
        return new A();
    }

    @Bean
    public B b() {
        return new B();
    }
}
